define([
    "jquery",
    "underscore",
    "backbone",
    "text!html/main/mainTopPage.html"
], function ($, _, backbone, html) {
    'use strict';
    var view =  Backbone.View.extend({
        id:"",
        className:"top",
        events: function () {
            var evtObj = {};
           // evtObj["click #main"] = this.testClick;
            return evtObj;
        },
        testClick: function () {
           // common.goto();
            //location.href = "#sdsdsfsdfdfd";
        },
        createDom: function () {
            this.tpl = _.template(html);
        },
        getModel: function () {
            return {
               // name: common.localModel.user.toJSON().name || "main"
            }
        }
    });
    return view;
});